Las Vegas algorithm
RANDOMIZED ALGORITHM GUARANTEED TO EVENTUALLY PRODUCE CORRECT OR OPTIMAL RESULTS
Las Vegas method; Las vegas algorithm
In computing, a Las Vegas algorithm is a randomized algorithm that always gives correct results; that is, it always produces the correct result or it informs about the failure. However, the runtime of a Las Vegas algorithm differs depending on the input.